home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6683 < prev    next >
Encoding:
Text File  |  1996-08-05  |  902 b   |  25 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!news1!news
  3. From: rclark@iquest.net (Robert B. Clark)
  4. Subject: Re: How to list files in a directory (like "dir" in msdos or "ls" unix)
  5. X-Nntp-Posting-Host: ind-007-237-39.iquest.net
  6. Message-ID: <3124f23c.14475593@news.iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IQuest Internet, Inc.
  9. X-Newsreader: Forte Agent .99d/16.182
  10. References: <4fqi8j$r9o@mn5.swip.net>
  11. Date: Fri, 16 Feb 1996 21:09:11 GMT
  12.  
  13. On 13 Feb 1996 17:37:23 GMT, "Simon ThalΘn" <m-15275@mailbox.swipnet.se>
  14. wrote:
  15.  
  16. >I would like list files in a directory (i┤m making a filemanager).
  17. >Like "dir" or something like that. I have Bcc 4,02
  18.  
  19. Use findfirst() and findnext() and filter out all files that do not have
  20. the attribute you're looking for.
  21. --
  22. Robert B. Clark <rclark@iquest.net>
  23. "Be wary of strong spirits.  It can make you shoot at tax collectors...
  24. and miss." --RAH
  25.